package com.lhz.dao.mybatis;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.lhz.pojos.Appointment;

@Mapper
public interface ArrangeTableMybatis {
	/**
	 * 查看预约信息
	 * @return
	 */
	List<Appointment> arrangeTableInfo();
	
	/**
	 * 条件查询
	 * @param number
	 * @param phone
	 * @return
	 */
	List<Appointment> arrangeTableInfo(
			@Param(value="number")String number,
			@Param(value="phone")String phone,
			@Param(value="startTime") String startTime);
	
	
	/**
	 * 查询最大值
	 * @param two
	 * @return
	 */
	Integer searchByduilieInfoMax(@Param(value="two")String two);
}
